import Vue from 'vue';
import VueRouter from 'vue-router';
/**
 * 管理员端页面引入
 */
import Gulangyu from '../pages/manager/Gulangyu.vue';
import XiamenUniversity from '../pages/manager/XiamenUniversity.vue';
import Zengcuohuo from '../pages/manager/Zengcuohuo.vue';
import Food from '../pages/manager/Food.vue';
import culture from '../pages/manager/culture.vue';
import busRoutes from '../pages/manager/busRoutes.vue';
import contactUs from '../pages/manager/contactUs.vue';

Vue.use(VueRouter);

const router = new VueRouter({
    routes: [
        /**
         * 管理员端路由设置
         */
        {
            path : '/Gulangyu',
            component: Gulangyu
        },{
            path : '/XiamenUniversity',
            component: XiamenUniversity
        },{
            path : '/Zengcuohuo',
            component: Zengcuohuo
        },{
            path : '/Food',
            component: Food
        },{
            path : '/culture',
            component: culture
        },{
            path : '/contactUs',
            component: contactUs
        },{
            path : '/busRoutes',
            component: busRoutes
        }
        //{ path: '/album', component: require('../pages/album.vue') },
        //{ path: '/goods/list', component: require('../pages/goods/list.vue') },
        //{ path: '/goods/edit', component: require('../pages/goods/edit.vue') }
        //{ path: '/', component: require('../src/controller/console/home.js') }
    ]
});
export default router;//导出router文件